Digital circuit for correcting mismatched IQ signals in a baseband receiver

ABSTRACT

A digital circuit in a baseband receiver to compensate for the IQ mismatch by aligning the amplitude of Ĩ with {tilde over (Q)} and by aligning the phase of {tilde over (Q)} to be 90 degrees away from Ĩ.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to a circuit for correcting mismatched IQ (In-phase and Quadrature) signals, and in particular, to a digital circuit for correcting mismatched IQ signals in a baseband receiver.

2. Description of the Prior Art

When the RF signals carrying IQ signals are received and down-converted to the base frequency, due to the PCB (Printed Circuit Board) layout, analog circuit layout and the variation of the I path and Q path, the IQ signals received at the base frequency are often mismatched.

Therefore, there is a need to have a solution to overcome the above-mentioned issue.

SUMMARY OF THE INVENTION

One objective of the present invention is to provide a digital circuit for correcting mismatched IQ signals in a baseband receiver on the fly without using a processor such as MCU (Microcontroller Unit) or DSP (Digital Signal Processor).

The present invention uses a digital circuit to evaluate the mismatch between I and Q channels after the IQ mismatched signals are sampled by ADC and to compensate for the amplitude and phase differences of the mismatched IQ signals by aligning the amplitude of Ĩ with {tilde over (Q)} and the phase of {tilde over (Q)} to be 90 degrees away from Ĩ.

The present invention discloses a digital circuit for correcting mismatch IQ signals in a baseband receiver, wherein said mismatch IQ signals are represented by in-phase signal: Ĩ and quadrature signal: {tilde over (Q)}, wherein each of the Ĩ and {tilde over (Q)} is in digital form, wherein the digital circuit comprises: a digital calibration circuit, for obtaining the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)}:ε and the phase difference between Ĩ and {tilde over (Q)}:φ, wherein

${{\overset{\hat{}}{\varepsilon}}_{inv} = \frac{1}{\varepsilon}};$ and a digital correction circuit, for obtaining compensated signals: Î and {circumflex over (Q)}, wherein for each time n: Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n); and {circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).

In one embodiment, the digital calibration circuit comprises a power calculator block that receives the signals Ĩ and {tilde over (Q)} and generates:

$\begin{matrix} {{{\overset{\sim}{I}}_{ABS\_ avg}(n)},{{\overset{˜}{Q}}_{ABS\_ avg}(n)},{P_{I.P.}(n)},{{and}P_{\overset{\sim}{I}}(n)},{wherein}} \\ {{{{\overset{\sim}{I}}_{ABS\_ avg}(n)} = {{Average}\left( {❘{\overset{\sim}{I}(n)}❘} \right)}};} \\ {{{{\overset{˜}{Q}}_{ABS\_ avg}(n)} = {{Average}\left( {❘{\overset{˜}{Q}(n)}❘} \right)}};} \\ {{{{P_{I.P.}(n)} = {{Average}\left( {{\overset{\sim}{I}(n)} \star {\overset{\sim}{Q}(n)}} \right)}};{{{and}{}P_{\overset{\sim}{I}}(n)} = {{Average}\left( \left( {\overset{\sim}{I}(n)} \right)^{2} \right)}}},{wherein}} \\ {{{{\overset{\hat{}}{\varepsilon}}_{inv}(n)} = {{Average}\left( \frac{{\overset{\sim}{Q}}_{ABS\_ avg}(n)}{{\overset{\sim}{I}}_{ABS\_ avg}(n)} \right)}};{and}} \\ {{\overset{\hat{}}{\varphi}(n)} = {{Average}{\left( \frac{P_{I.P.}(n)}{{{\overset{\hat{}}{\varepsilon}}_{inv}\left( {n - 1} \right)}*{P_{\overset{\sim}{I}}(n)}} \right).}}} \end{matrix}$

In one embodiment, the digital correction circuit comprises a power correction block that receives Ĩ(n) and {circumflex over (ε)}_(inv)(n) and generates Î(n), and a phase correction block that receives {circumflex over (φ)}(n), {tilde over (Q)} and Î(n) and generates {circumflex over (Q)}, wherein Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n); and {circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).

The detailed technology and above preferred embodiments implemented for the present invention are described in the following paragraphs accompanying the appended drawings for people skilled in this field to well appreciate the features of the claimed invention.

BRIEF DESCRIPTION OF DRAWINGS

The foregoing aspects and many of the accompanying advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description when taken in conjunction with the accompanying drawings, wherein:

FIG. 1A shows A block diagram for illustrating how to correct mismatch IQ signals according to one embodiment of the present invention;

FIG. 1B illustrates a digital circuit for correcting mismatched IQ signals according to one embodiment of the present invention;

FIG. 1C illustrates a digital calibration circuit according to one embodiment of the present invention; and

FIG. 1D illustrates a digital correction circuit according to one embodiment of the present invention.

DETAILED DESCRIPTION OF EMBODIMENT

The detailed explanation of the present invention is described as follows. The described preferred embodiments are presented for purposes of illustrations and description, and they are not intended to limit the scope of the present invention.

When the IQ-matched RF signal is received and down-converted to the base frequency, due to the PCB layout, analog circuit layout and the variation of the I path and Q path, the IQ signal received at the base frequency is often mismatched. The present invention evaluates the mismatches between I and Q channels after the IQ mismatched signals are sampled by ADC, wherein the amplitude and phase differences of the mismatched IQ signals are compensated by aligning the amplitude of Ĩ with {tilde over (Q)} and the phase of {tilde over (Q)} to be 90 degrees away from Ĩ.

FIG. 1A shows A block diagram for illustrating how to compensate mismatch IQ signals that are received from I and Q through the IQ mismatched box 101, wherein the mismatch IQ signals, Ĩ and {tilde over (Q)}, are received in a baseband receiver, wherein each of Ĩ and {tilde over (Q)} is in digital form, wherein the IQC (IQ Compensation) block 102 receives the mismatch IQ signals: Ĩ and {tilde over (Q)}, and generates compensated IQ signals: Î and {circumflex over (Q)}, wherein

$\begin{matrix} {{{\overset{\hat{}}{I} = {\frac{1}{\varepsilon}*\overset{\sim}{I}}};{{{or}\overset{\hat{}}{I}} = {{\overset{\hat{}}{\varepsilon}}_{inv}*\overset{\sim}{I}}}},{{{wherein}{}{\overset{\hat{}}{\varepsilon}}_{inv}} = \frac{1}{\varepsilon}},{and}} \\ {{\overset{\hat{}}{Q} = {{{- \overset{\hat{}}{I}}*\tan\left( \overset{\hat{}}{\varphi} \right)} + {\sec\left( \overset{\hat{}}{\varphi} \right)*\overset{˜}{Q}}}},} \end{matrix}$ wherein ε is the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)}, and {circumflex over (φ)} is the phase difference between Ĩ and {tilde over (Q)}.

FIG. 1B illustrates a digital circuit for correcting mismatched IQ signals, wherein said mismatched IQ signals are represented by in-phase signal: Ĩ and quadrature signal: {tilde over (Q)}, wherein each of Ĩ and {tilde over (Q)} is in digital form, wherein the IQC block 102 comprises a calibration block 102 a for obtaining the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)} for each time n:ε(n) and the phase difference between Ĩ(n) and {tilde over (Q)}(n) for each time n:{circumflex over (φ)}(n).

As shown in FIG. 1B, the IQC block 102 comprises a correction block 102 b, for obtaining compensated signals: Î(n) and {circumflex over (Q)}(n), wherein

$\begin{matrix} {{{\overset{\hat{}}{I}(n)} = {{\overset{\hat{}}{\varepsilon}}_{inv}(n)*{\overset{\sim}{I}(n)}}},{{{{wherein}{}{{\overset{\hat{}}{\varepsilon}}_{inv}(n)}} = {\frac{1}{\varepsilon}(n)}};{and}}} \\ {{\overset{\hat{}}{Q}(n)} = {{{- \overset{\hat{}}{I}}(n)*\tan\left( {\overset{\hat{}}{\varphi}(n)} \right)} + {\sec\left( {\overset{\hat{}}{\varphi}(n)} \right)*\overset{˜}{Q}{(n).}}}} \end{matrix}$

As shown in FIG. 1C, the calibration block 102 a comprises a power calculator block 102 p 1 that receives the signals Ĩ and {tilde over (Q)} and generates:

Ĩ_(ABS_avg)(n), {tilde over (Q)}_(ABS_avg)(n), P_(I.P)(n), and P_(Ĩ)(n), wherein Ĩ _(ABS_avg)(n)=Average(|Ĩ(n)|); {tilde over (Q)} _(ABS_avg)(n)=Average(|{tilde over (Q)}(n)|); P _(I.P.)(n)=Average(Ĩ(n)*{tilde over (Q)}(n)), wherein * represents multiply in this document; and P _(Ĩ)(n)=Average((Ĩ(n))²).

Please note that in this document, Average(x(n)),n=0, 1, 2, 3 . . . is defined in below: Average(x(0))=x[0], for n=0; and

${{{Average}\left( {x(n)} \right)} = {{{Average}\left( {x\left( {n - 1} \right)} \right)} + {\frac{1}{Divider}*\left( {{x\lbrack n\rbrack}{- {{Average}\left( {x\left\lbrack {n - 1} \right\rbrack} \right)}}} \right)}}},$ for n=1, 2, 3 . . . , wherein Divider is a constant and can be stored in a register that can be programmed by software.

For example, Ĩ_(ABS_avg)(n)=Average(|Ĩ(n)|) is defined as:

${{{Average}\left( {❘{\overset{\sim}{I}(0)}❘} \right)} = {❘{\overset{\sim}{I}(0)}❘}},{{{{for}n} = 0};{{{and}{{Average}\left( {❘{\overset{\sim}{I}(n)}❘} \right)}} = {{{Average}\left( {❘{\overset{\sim}{I}\left( {n - 1} \right)}❘} \right)} + {\frac{1}{{Divi}der}*\left( {{{❘{\overset{\sim}{I}(n)}❘} - {{Average}\left( {❘{\overset{\sim}{I}\left( {n - 1} \right)}❘} \right)}},{{{for}n} = 1},2,{3{\ldots.}}} \right.}}}}$

As shown in FIG. 1C, the calibration block 102 a comprises a first estimation block 102 e 1 for estimating {circumflex over (ε)}_(inv)(n), wherein the first estimation block 102 e 1 receives Ĩ_(ABS_avg)(n) and {tilde over (Q)}_(ABS_avg)(n) and generates {circumflex over (ε)}_(inv)(n) by:

${{\overset{\hat{}}{\varepsilon}}_{inv}(n)} = {{{Average}\left( \frac{{\overset{˜}{Q}}_{ABS\_ avg}(n)}{{\overset{\sim}{I}}_{ABS\_ avg}(n)} \right)}.}$

As shown in FIG. 1C, the calibration block 102 a comprises a second estimation block 102 e 2 for estimating {circumflex over (φ)}(n), wherein the second estimation block 102 e 2 receives P_(I.P.)(n), P_(I.P.)(n) and {circumflex over (ε)}_(inv)(n−1), and generates {circumflex over (φ)}(n) by:

${\overset{\hat{}}{\varphi}(n)} = {{{Average}\left( \frac{P_{I.P.}(n)}{{{\overset{\hat{}}{\varepsilon}}_{inv}\left( {n - 1} \right)}*{P_{\overset{\sim}{I}}(n)}} \right)}.}$

As shown in FIG. 1D, the IQC block 102 comprises a power correction block 102 p 2 and a phase correction block 102 p 3, wherein the power correction block 102 p 2 receives Ĩ(n) and {circumflex over (ε)}_(inv)(n) and generates Î(n), and the phase correction block 102 p 3 receives {circumflex over (φ)}(n), {tilde over (Q)} and Î(n) and generates {circumflex over (Q)}, wherein Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n); and {circumflex over (Q)}(n)=−Î(n)*tan ({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).

The above disclosure is related to the detailed technical contents and inventive features thereof. People skilled in this field may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended. 

What is claimed is:
 1. A digital circuit for compensating mismatched IQ (In-phase and Quadrature) signals in a baseband receiver, wherein said mismatched IQ signals are represented by in-phase signal: Ĩ and quadrature signal: {tilde over (Q)}, wherein each of Ĩ and {tilde over (Q)} is in digital form, wherein the digital circuit comprises: a calibration block, for obtaining the ratio of the amplitude of Ĩ to the amplitude of {tilde over (Q)} for each time n:ε(n) and the phase difference between Ĩ and {tilde over (Q)} for each time n:{circumflex over (φ)}(n), wherein ${{{\overset{\hat{}}{\varepsilon}}_{inv}(n)} = \frac{1}{\varepsilon(n)}};$ and a correction block, for obtaining compensated signals: Î and {circumflex over (Q)}, wherein, for each time n=0, 1, 2, 3 . . . , Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n).
 2. The digital circuit according to claim 1, wherein in the correction block, for obtaining compensated signals: Î and {circumflex over (Q)} wherein, for each time n=0, 1, 2, 3 . . . , Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n), and {circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n).
 3. The digital circuit according to claim 2, wherein the calibration block comprises a power calculator block that receives the signals Ĩ and {tilde over (Q)} and generates: $\begin{matrix} {{{\overset{\sim}{I}}_{ABS\_ avg}(n)},{{\overset{˜}{Q}}_{ABS\_ avg}(n)},{P_{I.P.}(n)},{{and}P_{\overset{\sim}{I}}(n)},{wherein}} \\ {{{{\overset{\sim}{I}}_{ABS\_ avg}(n)} = {{Average}\left( {❘{\overset{\sim}{I}(n)}❘} \right)}};} \\ {{{{\overset{˜}{Q}}_{ABS\_ avg}(n)} = {{Average}\left( {❘{\overset{˜}{Q}(n)}❘} \right)}};} \\ {{{P_{I.P.}(n)} = {{Average}\left( {{\overset{\sim}{I}(n)} \star {\overset{\sim}{Q}(n)}} \right)}};{}{and}} \\ {{{P_{\overset{\sim}{I}}(n)} = {{Average}\left( \left( {\overset{\sim}{I}(n)} \right)^{2} \right)}},{wherein}} \\ {{{{\overset{\hat{}}{\varepsilon}}_{inv}(n)} = {{Average}\left( \frac{{\overset{\sim}{Q}}_{ABS\_ avg}(n)}{{\overset{\sim}{I}}_{ABS\_ avg}(n)} \right)}},{and}} \\ {{\overset{\hat{}}{\varphi}(n)} = {{Average}{\left( \frac{P_{I.P.}(n)}{{{\overset{\hat{}}{\varepsilon}}_{inv}\left( {n - 1} \right)}*{P_{\overset{\sim}{I}}(n)}} \right).}}} \end{matrix}$
 4. The digital circuit according to claim 3, wherein the correction block comprises a power correction block and a phase correction block, wherein the power correction block receives Ĩ(n) and {circumflex over (ε)}_(inv)(n) and generates Î(n), and the phase correction block receives {circumflex over (φ)}(n), {tilde over (Q)} and Î(n) and generates {circumflex over (Q)}, wherein Î(n)={circumflex over (ε)}_(inv)(n)*Ĩ(n); and {circumflex over (Q)}(n)=−Î(n)*tan({circumflex over (φ)}(n))+sec({circumflex over (φ)}(n))*{tilde over (Q)}(n). 